<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="strutsTags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>部门/分公司信息维护</title>
		<link rel="stylesheet" href="resource/css/style.css" type="text/css" />
		<jsp:include flush="true" page="../sitemesh/jsPackage.jsp"></jsp:include>
		<script type="text/javascript"
			src="resource/js/configuration/BaseManager.js"></script>
	</head>
	<body>
		<span class="errorMessage" id="errMsg"></span>
		<div id="tabs">
			<ul style="list-style: none;">
				<s:if test="nodeType==0 || nodeType==1">
					<li>
						<a
							href="profile/editBranchDeptInit.action?date=<%=new java.util.Date().getTime()%>&dept.id=<s:property value='dept.id'/>&nodeId=<s:property value='nodeId'/>&nodeType=<s:property value='nodeType'/>&operateOver=<s:property value='operateOver'/>">基本信息</a>
					</li>
				</s:if>
				<s:elseif test="nodeType==2">
					<li>
						<a
							href="profile/editBranchDeptInit.action?date=<%=new java.util.Date().getTime()%>&dept.id=<s:property value='dept.id'/>&nodeId=<s:property value='nodeId'/>&nodeType=<s:property value='nodeType'/>&operateOver=<s:property value='operateOver'/>">基本信息</a>
					</li>
				</s:elseif>
				<s:if test="dept.id!=null && dept.id!=''">
					<li>
						<a
							href="profile/goDeptResTab.action?date=<%=new java.util.Date().getTime()%>&dept.id=<s:property value='dept.id'/>">部门职责</a>
					</li>
					<li>
						<a
							href="profile/goDeptPerfcrTab.action?date=<%=new java.util.Date().getTime()%>&dept.id=<s:property value='dept.id'/>">考核标准</a>
					</li>
					<li>
						<a
							href="profile/goDeptPBsTab.action?date=<%=new java.util.Date().getTime()%>&dept.id=<s:property value='dept.id'/>">职位列表</a>
					</li>
					<li>
						<a
							href="profile/goDeptHistTab.action?date=<%=new java.util.Date().getTime()%>&dept.id=<s:property value='dept.id'/>">变动历史</a>
					</li>
					<li>
						<a
							href="profile/goDirectSubDeptTab.action?date=<%=new java.util.Date().getTime()%>&dept.id=<s:property value='dept.id'/>">直属下级组织</a>
					</li>
				</s:if>
			</ul>
		</div>
		<script type="text/javascript">
	$(document).ready( function() {
		$("#tabs").tabs();
		$("#tabs ul li a").bind('click', function() {
			$("#dialog_deptres").dialog('destroy').remove();
			$("#dialog_deptperfcr").dialog('destroy').remove();
		});
	});
</script>

	</body>
</html>
